package com.dhl.fin.api.dao;

import com.dhl.fin.api.common.dto.QueryDto;
import com.dhl.fin.api.domain.Dictionary;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

public interface DictionaryDao {
    int deleteByPrimaryKey(Dictionary record);

    int insert(Dictionary record);

    int insertSelective(Dictionary record);

    List<Dictionary> selectPageQuery(QueryDto queryDto);

    List<Dictionary> selectSelective(QueryDto queryDto);

    int selectCount(QueryDto queryDto);

    Dictionary selectOne(QueryDto queryDto);

    Dictionary selectByPrimaryKey(Map data);

    int updateByPrimaryKeySelective(@Param("domain")Dictionary record, @Param("query")QueryDto queryDto);

    int updateByPrimaryKey(Dictionary record);
}